/**********************************************
 * 
 * File Name				:	ICommonDao.java
 * 
 * Last Changed Date		: 	$Date: 2009-08-01 11:12:53 +0800 (星期六, 01 八月 2009) $
 * 
 * Last Changed Revision	:	$Revision: 86 $
 * 
 * Last Changed Author		:	$Author: cfanboy $
 * 
 * File Header URL			:	$HeadURL: svn://www.svnhost.cn/Busi-Building/code/branch/src/com/busibuilding/common/dao/ICommonDao.java $
 * 
 * ********************************************
 */

package com.busibuilding.common.dao;

import java.util.List;

import com.busibuilding.common.Constants;
import com.busibuilding.common.exceptions.DAOException;


@SuppressWarnings("unchecked")
public interface ICommonDao extends Constants{
	Object insert(String sql, Object obj) throws DAOException;
	int update(String sql, Object obj) throws DAOException;
	int delete(String sql, Object obj) throws DAOException;
	Object queryObject(String sql, Object param) throws DAOException;
	List queryList(String sql, Object param) throws DAOException;	
}
